<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta content="IE=8" http-equiv="X-UA-Compatible" />
    <title>{%page_title_index}</title>
    {$QPath}
    <link rel="stylesheet" type="text/css" href="__TMPL__../Admin/Public/base.css" />
    <script type="text/javascript" src="__TMPL__../Admin/Public/jquery.js"></script>
    <script type="text/javascript" src="__TMPL__../Admin/Public/base.js"></script>
</head>
<body>
    <div id="container">
        <table class="tabmenu" cellspacing="0">
            <tbody>
                <tr>
                    <td style="width:12px">&nbsp;</td>
                    <td class="here" style="width:80px"><a href="__URL__/index"><span>{%page_title_index}</span></a></td>
                    <td style="width:80px"><a href="__URL__/add"><span>{%page_title_add}</span></a></td>
                    <td>&nbsp;</td>
                </tr>
            </tbody>
        </table>
        <div class="main">
            <div class="operate">
                <ul class="fnc">
                    <li class="page">{$page}</li>
                    <li><button type="button" class="btn" onclick="doAction('removal')"><span><span>{%removal}</span></span></button></li>
                    <li><button type="button" class="btn" onclick="doAction('edit')"><span><span>{%edit}</span></span></button></li>
                </ul>
            </div>
            <div class="view">
                <form method="post" action="__URL__">
                    <table class="data">
                        <thead>
                            <tr>
                            <th class="cbCell"><input type="checkbox" id="toggleSelectAll" /></th>
                            <th>{%role_name}</th>
                            <th>{%roel_status}</th>
                            <th>{%operate}</th>
                            </tr>
                        </thead>
                        <tbody class="toggleColor">
                            <present name="list">
                                <iterate name="list" id="vo">
                                    <tr>
                                        <td><if condition="$vo['name'] neq 'systemAdministrator'"><input type="checkbox" name="sid[]" value="{$vo['id']}"/></if></td>
                                        <td>{$vo['name']}</td>
                                        <td><if condition="$vo['status'] eq '1'">{%enabled}<else />{%disabled}</if></td>
                                        <td>
                                            
                                        </td>
                                    </tr>
                                </iterate>
                            <else/>
                                <tr class="notfound">
                                    <td colspan="20">{%no_records_find}</td>
                                </tr>
                            </present>
                        </tbody>
                    </table>
                </form>
            </div>
            <div class="operate">
                <ul class="fnc">
                    <li class="page">{$page}</li>
                    <li><button type="button" class="btn" onclick="doAction('removal')"><span><span>{%removal}</span></span></button></li>
                    <li><button type="button" class="btn" onclick="doAction('edit')"><span><span>{%edit}</span></span></button></li>
                </ul>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        function toggleColorRowClickFunc(){
            clickRowAsSelect(this);
        }
    </script>
</body>
</html>
